#ifndef __CESParser_H__
#define __CESParser_H__
#include <string> 
#include <iostream> 
#include <stdio.h>

using namespace std;

#define TS_SIZE 188
#define TS_IN_STREAM 10
#define STREAM_LENGTH (TS_SIZE * TS_IN_STREAM)

class CESParser
{
public:
	CESParser(string sFileName);
	~CESParser(void);

	bool readData();
	int getSize();
    const char * getData();


private:
	FILE* m_pFile;
	char m_cBuffer[STREAM_LENGTH];
	int m_length;
};

#endif
